import { FishController } from "./FishController";
import { Fish } from "../Obj/Fish";
type int = number;
//class UniformFishController
    
    export  class UniformFishController extends FishController
    {
        constructor(arg1: number=0, arg2: int=1)
        {
            super();
            this._xSpeed = arg1;
            this._horizontalDirection = arg2;
            return;
        }

        public /* override */ autoRun(): void
        {
            (_target as Fish).xSpeed = this._xSpeed;
            (_target as Fish).horizontalDirection = this._horizontalDirection;
            return;
        }

        /* internal */ /* var */_xSpeed: number;

        /* internal */ /* var */_horizontalDirection: int;
    }
